﻿<div ng-controller="LoginCtrl">
    <div class="bar bar-header bar-positive">
        <h1 class="title">用户登录</h1>
    </div>
    <ion-content class="padding" scroll="false">
        <h2 style="text-align: center; padding: 60px 0">
            UFrame
        </h2>
        <div class="list list-inset">
            <form role="form" ng-submit="submit()">
                <label class="item item-input">
                    <i class="icon ion-person placeholder-icon"></i>
                    <input type="text" placeholder="请输入用户名" ng-model="form.userName" required="">
                </label>
                <label class="item item-input">
                    <i class="icon ion-ios-locked placeholder-icon"></i>
                    <input type="password" placeholder="请输入密码" ng-model="form.password" required="">
                </label>
                <button class="button button-full button-calm" type="submit">
                    {{::form.openId==''?'登 录':'绑 定'}}
                </button>
            </form>
        </div>
        <p class="text-center">&copy; 2016 </p>
        <p class="text-center">xxx公司 提供技术支持</p>
    </ion-content>
</div>